home *** CD-ROM | disk | FTP | other *** search
/ Mac Easy 2010 May / Mac Life Ubuntu.iso / casper / filesystem.squashfs / usr / share / gimp / 2.0 / help / en / gimp-concepts-undo.html < prev    next >
Encoding:
Extensible Markup Language  |  2008-05-03  |  12.8 KB  |  277 lines

  1. <?xml version="1.0" encoding="UTF-8" standalone="no"?>
  2. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
  3. <html xmlns="http://www.w3.org/1999/xhtml">
  4.   <head>
  5.     <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
  6.     <title>3.¬† Undoing</title>
  7.     <link rel="stylesheet" href="gimp-help-plain.css" type="text/css" />
  8.     <link rel="stylesheet" href="gimp-help-screen.css" type="text/css" />
  9.     <link rel="stylesheet" href="gimp-help-custom.css" type="text/css" />
  10.     <link rel="alternate stylesheet" href="gimp22.css" type="text/css" title="gimp22" />
  11.     <meta name="generator" content="DocBook XSL Stylesheets V1.73.2" />
  12.     <link rel="start" href="index.html" title="GNU Image Manipulation Program" />
  13.     <link rel="up" href="gimp-first-steps.html" title="Chapter¬†3.¬† First Steps With Wilber" />
  14.     <link rel="prev" href="gimp-concepts-docks.html" title="2.3.¬† Dialogs and Docking" />
  15.     <link rel="next" href="gimp-tutorial-quickies.html" title="4.¬† GIMPLite Quickies" />
  16.   </head>
  17.   <body>
  18.     <div class="navheader">
  19.       <table width="100%" summary="Navigation header">
  20.         <tr>
  21.           <th colspan="3" align="center">3.¬†
  22.     <span lang="en" xml:lang="en">Undoing</span>
  23.   </th>
  24.         </tr>
  25.         <tr>
  26.           <td width="20%" align="left"><a accesskey="p" href="gimp-concepts-docks.html"><img src="../images/prev.png" alt="Prev" /></a>¬†</td>
  27.           <th width="60%" align="center">Chapter¬†3.¬†
  28.         <span lang="en" xml:lang="en">First Steps With Wilber</span>
  29.       </th>
  30.           <td width="20%" align="right">¬†<a accesskey="n" href="gimp-tutorial-quickies.html"><img src="../images/next.png" alt="Next" /></a></td>
  31.         </tr>
  32.       </table>
  33.       <hr />
  34.     </div>
  35.     <div class="sect1" lang="en" xml:lang="en">
  36.       <div class="titlepage">
  37.         <div>
  38.           <div>
  39.             <h2 class="title" style="clear: both"><a id="gimp-concepts-undo"></a>3.¬†
  40.     <span lang="en" xml:lang="en">Undoing</span>
  41.   </h2>
  42.           </div>
  43.           <div>
  44.             <div class="revhistory">
  45.               <table border="1" width="100%" summary="Revision history">
  46.                 <tr>
  47.                   <th align="left" valign="top" colspan="3">
  48.                     <b>Revision History</b>
  49.                   </th>
  50.                 </tr>
  51.                 <tr>
  52.                   <td align="left">Revision $Revision: 2353 $</td>
  53.                   <td align="left">2007-07-15</td>
  54.                   <td align="left">romanofski</td>
  55.                 </tr>
  56.               </table>
  57.             </div>
  58.           </div>
  59.         </div>
  60.       </div>
  61.       <a id="id2584511" class="indexterm"></a>
  62.       <p>
  63.     Almost anything you do to an image in GIMP can be undone.  You can
  64.     undo the most recent action by choosing
  65.     <span class="guimenu">Edit</span> ‚Üí <span class="guimenuitem">Undo</span>
  66.     from the image menu, but this is done so frequently that you
  67.     really should memorize the keyboard shortcut,
  68.     <span class="keycap"><strong>Ctrl</strong></span>+<span class="keycap"><strong>Z</strong></span>.
  69.   </p>
  70.       <p>
  71.     Undoing can itself be undone. After having undone an action, you
  72.     can <span class="emphasis"><em>redo</em></span> it by choosing
  73.     <span class="guimenu">Edit</span> ‚Üí <span class="guimenuitem">Redo</span>
  74.     from the image menu, or use the keyboard shortcut,
  75.     <span class="keycap"><strong>Ctrl</strong></span>+<span class="keycap"><strong>Y</strong></span>.
  76.     It is often helpful to judge the effect of an action by repeatedly
  77.     undoing and redoing it.  This is usually very quick, and does not
  78.     consume any extra resources or alter the undo history, so there is
  79.     never any harm in it.
  80.   </p>
  81.       <div class="caution" style="margin-left: 0.5in; margin-right: 0.5in;">
  82.         <table border="0" summary="Caution">
  83.           <tr>
  84.             <td rowspan="2" align="center" valign="top" width="25">
  85.               <img alt="[Caution]" src="../images/caution.png" />
  86.             </td>
  87.             <th align="left">Caution</th>
  88.           </tr>
  89.           <tr>
  90.             <td align="left" valign="top">
  91.               <p>
  92.       If you undo one or more actions and then operate on the image in any way
  93.       except by using Undo or Redo, it will no longer be possible to redo
  94.       those actions: they are lost forever. The solution to this, if it
  95.       creates a problem for you, is to duplicate the image and then operate on
  96.       the copy. ( <span class="emphasis"><em>Not</em></span> the original, because the undo/redo
  97.       history is not copied when you duplicate an image.)
  98.     </p>
  99.             </td>
  100.           </tr>
  101.         </table>
  102.       </div>
  103.       <p>
  104.     If you often find yourself undoing and redoing many steps at a time, it
  105.     may be more convenient to work with the
  106.     <a class="link" href="gimp-undo-dialog.html" title="2.7.¬† Undo History Dialog">Undo History dialog</a>,
  107.     a dockable dialog that shows you a small sketch of each point in the
  108.     Undo History, allowing you to go back or forward to that point by
  109.     clicking.
  110.   </p>
  111.       <p>
  112.     Undo is performed on an image-specific basis: the "Undo History" is one of
  113.     the components of an image. GIMP allocates a certain amount of memory to
  114.     each image for this purpose. You can customize your Preferences to
  115.     increase or decrease the amount, using the
  116.     <a class="link" href="gimp-pimping.html#gimp-prefs-environment" title="1.2.¬† Environment">Environment</a>
  117.     page of the Preferences dialog. There are two important variables: the
  118.     <span class="emphasis"><em>minimal number of undo levels</em></span>,
  119.     which GIMP will maintain regardless of how much memory they consume, and
  120.     the <span class="emphasis"><em>maximum undo memory</em></span>, beyond which GIMP will
  121.     begin to delete the oldest items from the Undo History.
  122.   </p>
  123.       <div class="note" style="margin-left: 0.5in; margin-right: 0.5in;">
  124.         <table border="0" summary="Note">
  125.           <tr>
  126.             <td rowspan="2" align="center" valign="top" width="25">
  127.               <img alt="[Note]" src="../images/note.png" />
  128.             </td>
  129.             <th align="left">Note</th>
  130.           </tr>
  131.           <tr>
  132.             <td align="left" valign="top">
  133.               <p>
  134.       Even though the Undo History is a component of an image, it is not saved
  135.       when you save the image using GIMP's native XCF format, which preserves
  136.       every other image property. When the image is reopened, it will have an
  137.       empty Undo History.
  138.     </p>
  139.             </td>
  140.           </tr>
  141.         </table>
  142.       </div>
  143.       <p>
  144.     The implementation of Undo by GIMP is rather sophisticated. Many
  145.     operations require very little Undo memory (e.g., changing visibility of a
  146.     layer), so you can perform long sequences of them before they drop out of
  147.     the Undo History. Some operations (changing layer visibility is again an
  148.     example) are <span class="emphasis"><em>compressed</em></span>,
  149.     so that doing them several times in a row produces only a single point
  150.     in the Undo History. However, there are other operations that may consume
  151.     a lot of undo memory. Most filters are examples of this: because they are
  152.     implemented by plug-ins, the GIMP core has no really efficient way of
  153.     knowing what they have changed, so it has no way to implement Undo except
  154.     by memorizing the entire contents of the affected layer before and after
  155.     the operation. You might only be able to perform a few such operations
  156.     before they drop out of the Undo History.
  157.   </p>
  158.       <div class="sect2" lang="en" xml:lang="en">
  159.         <div class="titlepage">
  160.           <div>
  161.             <div>
  162.               <h3 class="title"><a id="id2584706"></a>3.1.¬†
  163.       <span lang="en" xml:lang="en">Things That Cannot be Undone</span>
  164.     </h3>
  165.             </div>
  166.           </div>
  167.         </div>
  168.         <p>
  169.       Most actions that alter an image can be undone. Actions that do not
  170.       alter the image generally cannot be. This includes operations such as
  171.       saving the image to a file, duplicating the image, copying part of the
  172.       image to the clipboard, etc. It also includes most actions that affect
  173.       the image display without altering the underlying image data. The most
  174.       important example is zooming. There are, however, exceptions: toggling
  175.       QuickMask on or off can be undone, even though it does not alter the
  176.       image data.
  177.     </p>
  178.         <p>
  179.       There are a few important actions that do alter an image but
  180.       cannot be undone:
  181.     </p>
  182.         <div class="variablelist">
  183.           <dl>
  184.             <dt>
  185.               <span class="term">Closing the image</span>
  186.             </dt>
  187.             <dd>
  188.               <p>
  189.             The Undo History is a component of the image, so when the image is
  190.             closed and all of its resources are freed, the Undo History goes
  191.             along. Because of this, unless the image has not been modified
  192.             since the last time it was saved, GIMP always asks you to confirm
  193.             that you really want to close it. (You can disable this in the
  194.             <a class="link" href="gimp-pimping.html#gimp-prefs-environment" title="1.2.¬† Environment">Environment</a>
  195.             page of the Preferences dialog; if you do, you are assuming
  196.             responsibility for thinking about what you are doing.)
  197.           </p>
  198.             </dd>
  199.             <dt>
  200.               <span class="term">Reverting the image</span>
  201.             </dt>
  202.             <dd>
  203.               <p>
  204.             ‚Äú<span class="quote">Reverting</span>‚Äù
  205.             means reloading the image from file. GIMP actually implements this
  206.             by closing the image and creating a new image, so the Undo History
  207.             is lost as a consequence. Because of this, if the image is
  208.             unclean, GIMP always asks you to confirm that you really want to
  209.             revert the image.
  210.           </p>
  211.             </dd>
  212.             <dt>
  213.               <span class="term">‚Äú<span class="quote">Pieces</span>‚Äù of actions</span>
  214.             </dt>
  215.             <dd>
  216.               <p>
  217.             Some tools require you to perform a complex series of
  218.             manipulations before they take effect, but only allow you to undo
  219.             the whole thing rather than the individual elements. For example,
  220.             the Intelligent Scissors require you to create a closed path by
  221.             clicking at multiple points in the image, and then clicking inside
  222.             the path to create a selection. You cannot undo the individual
  223.             clicks: undoing after you are finished takes you all the way back
  224.             to the starting point. For another example, when you are working
  225.             with the Text tool, you cannot undo individual letters, font
  226.             changes, etc.: undoing after you are finished removes the newly
  227.             created text layer.
  228.           </p>
  229.             </dd>
  230.           </dl>
  231.         </div>
  232.         <p>
  233.       Filters, and other actions performed by plugins or scripts, can be
  234.       undone just like actions implemented by the GIMP core, but this requires
  235.       them to make correct use of GIMP's Undo functions. If the code is not
  236.       correct, a plugin can potentially corrupt the Undo History, so that not
  237.       only the plugin but also previous actions can no longer properly be
  238.       undone. The plugins and scripts distributed with GIMP are all believed
  239.       to be set up correctly, but obviously no guarantees can be given for
  240.       plugins you obtain from other sources. Also, even if the code is
  241.       correct, canceling a plugin while it is running can sometimes leave the
  242.       Undo History corrupted, so it is best to avoid this unless you have
  243.       accidentally done something whose consequences are going to be very
  244.       harmful.
  245.     </p>
  246.       </div>
  247.     </div>
  248.     <div class="navfooter">
  249.       <hr />
  250.       <table width="100%" summary="Navigation footer">
  251.         <tr>
  252.           <td width="40%" align="left"><a accesskey="p" href="gimp-concepts-docks.html"><img src="../images/prev.png" alt="Prev" /></a>¬†</td>
  253.           <td width="20%" align="center">
  254.             <a accesskey="u" href="gimp-first-steps.html">
  255.               <img src="../images/up.png" alt="Up" />
  256.             </a>
  257.           </td>
  258.           <td width="40%" align="right">¬†<a accesskey="n" href="gimp-tutorial-quickies.html"><img src="../images/next.png" alt="Next" /></a></td>
  259.         </tr>
  260.         <tr>
  261.           <td width="40%" align="left" valign="top"><a accesskey="p" href="gimp-concepts-docks.html">2.3.¬†
  262.     <span lang="en" xml:lang="en">Dialogs and Docking</span>
  263.   </a>¬†</td>
  264.           <td width="20%" align="center">
  265.             <a accesskey="h" href="index.html">
  266.               <img src="../images/home.png" alt="Home" />
  267.             </a>
  268.           </td>
  269.           <td width="40%" align="right" valign="top">¬†<a accesskey="n" href="gimp-tutorial-quickies.html">4.¬†
  270.     <span lang="en" xml:lang="en">GIMPLite Quickies</span>
  271.   </a></td>
  272.         </tr>
  273.       </table>
  274.     </div>
  275.   </body>
  276. </html>
  277.